code: private void countGender(EntityIdValue gender, SiteRecord siteRecord) {
  		Integer curValue = siteRecord.genderCounts.get(gender);
  		if (curValue == null) {
  			siteRecord.genderCounts.put(gender, 1);
  		} else {
  			siteRecord.genderCounts.put(gender, curValue + 1);
  		}
  	}
docs: Counts a single page of the specified gender. If this is the first page
  of that gender on this site, a suitable key is added to the list of the
  site's genders.
  
  @param gender
  the gender to count
  @param siteRecord
  the site record to count it for