updated task.php (count task