Get task state totals

Gets the number of tasks in each state

Language