public void count(Object obj) {
		Class<?> type = obj.getClass();
		if (!baseType.isAssignableFrom(type))
			throw new RuntimeException(obj + " incorrect type: " + type
					+ ", should be type or subtype of " + baseType);
		countClass(type);
	}