code: def reducer_count(self, key, values):
          
          total = sum(values)
          metro, poi = key
          # group data by metro areas for final output    
          yield metro, (total, poi)
docs: count occurences for each (metro, POI) record