While it is possible to view the statistics for a single type of tasks, it is not possible to view the combined total of completed tasks.
It could be a possibility to make the id in TaskController::fetchStats nullable and return the total if no task was specified.