weighed counter class