code: protected int count(UserCustomResultSet resultSet) {
  		int count = 0;
  		try {
  			count = resultSet.getCount();
  		} finally {
  			resultSet.close();
  		}
  		return count;
  	}
docs: Get the count of the result set and close it
  
  @param resultSet
  result set
  @return count