add activityCount on header file