add count of tasks for new task adding to fix same task id bug