add functions of app_dashboard
edit the count_tasks to count_t_in_c