Activity selection problem

I can’t understand that what and how , i have to calculate the output.

  1. Sort the activities according to their finishing time
  2. Select the first activity from the sorted array and increment count
  3. Do following for remaining activities in the sorted array.
    …….a) If the start time of this activity is greater than or equal to the finish time of previously selected activity then select this activity and increment count.