Add query to get number of tracking events per user