sqlcounter doesn't work with bytes instead of time