code: public Integer getPerPage() {
  		int ret = 0;
  		if (photos != null) {
  			int pp;
  			if (photos.perpage == null) {
  				pp = 0;
  			} else {
  				pp = photos.perpage;
  			}
  
  			int pP;
  			if (photos.perPage == null ) {
  				pP = 0;
  			} else {
  				pP = photos.perPage;
  			}
  
  			if (pp > pP) {
  				ret = pp;
  			} else {
  				ret = pP;
  			}
  		}
  		return ret;
  	}
docs: Get the number of photos per page.
  This value is returned by flickr as "per_page" and "perpage", depending on the method that was called.
  This class can parse either value, and will return whichever one was found.
  
  @return number of photos per page.