Reusable event counter that are useful for statistics related BI applications