fix of count tasks
Merge branch 'tasks_denys' into staging