Returns the number of tasks in the specifies group.
Call this function to determine the number of tasks in a specific group.