minor changes for showing number of activities