Replaced all instances of group.items.count with numberOfRows category