Getting the unique values in a Core Data property along with the no. of times they are present
===

One of my Core Data entities has a NSDate property. I want to fetch all the unique dates along with no. of times they are present. Is it possible to do that in anyway.

Currently, I am doing this -

        [fetchRequest setResultType:NSDictionaryResultType];
        [fetchRequest setReturnsDistinctResults:NO];
        [fetchRequest setPropertiesToFetch:[NSArray arrayWithObject:@"dateProperty"]];
        self.allDateValues = (NSMutableArray *)[self.context executeFetchRequest:fetchRequest error:&error];

And then I have to parse through self.allDateValues to get all the distinct results along with the no. of times they occur.

Now, if I do the below I will straight away get all the unique values but not the no. of times they occur - 

        [fetchRequest setResultType:NSDictionaryResultType];
        [fetchRequest setReturnsDistinctResults:YES];
        [fetchRequest setPropertiesToFetch:[NSArray arrayWithObject:@"dateProperty"]];


Is there any easy way to do what I am trying to?