def countNum(num, elem):
    """Return the occurance of a given number in the specified list of numbers"""
    countNum = 0
    for i in range(len(num)):
        if elem == num[i]:
            countNum += 1
    return countNum