public int count(String key) {
		if(key.equals(Defines.CURRENCY_NAME)){
			return rangs;
		}
		int count = 0;
		for(Item i : items){
			if(key.equals(i.getName())){
				count++;
			}
		}
		return count;
	}