Bug fixed in fetchProjectCount