Counting the total number of connected students