Count and log the number of tasks added