Implemented phase task count.