Acquire statistics of the specified task.
Returns statistics of the specified task compiled from related events.