NING-13355 switching to uuid id for counter events in the database to prevent undefined behaviors in queries to clean up after aggregation