Ignore .project file
Added indexBy and countBy using the group method as the core for indexBy, countBy, and groupBy