Tasks getCount() functionality now working