def METHOD_NAME(val):
    classifxn = []  # local list to store each classification from classifying feature
    # insert each classification into the vector
    for k, v in dataRecords.items():
        classifxn.append(v[numFeatures - 1])
    # calculate count of classification
    x = classifxn.count(val)
    # store count of this classifxn with its occurence into classifxnCount dictionary
    classifxnCount[val] = x
    return x  # return the count