Put task count log entry in the right place