remove activityCount property and add activityCount class method