update task plugin count