Added functionality to get project count