private int getGenderCount(Gender gender) {
        int count = 0;
        for (String[] item : data) {
            if (item[GENDER_INDEX].trim().equals(gender.value())) {
                count++;
            }
        }
        return count;
    }