private static String getSuchElementsCount(Map<String, String> elements, String elementName) {
        int result = 0;
        for (String elementDesc : elements.values()) {
            if (elementDesc.equals(elementName)) {
                result++;
            }
        }
        return result + "";
    }