Logging data packet count to accounting table?