Hotspot Traffic Counter

Hello Every Body,
We know that Hotspot does not discount the user’s traffic consumption unless the user logged out in other words if the user consumed 1 GiB, Mikrotik does not add That (1 GiB) to the users traffic statistics till he logs out. I noticed that if Mikrotik device is shuted down because of electricity cutout, it does count the traffic which the user consumed during his session. Is there any way to make Mikrotik server count users’ traffic every static time during the same session?