Added definition for TASK_COUNT

Represents the number of tasks to allocate internally.