Sample app for SO question 2448252, dealing with fetching Core Data entity instances based on an aggregate value of a relationship