def frequency_Of_Smallest(n, arr):
    if n == 0 or not arr:
        return 0

    smallest = arr[0]
    count = 1

    for value in arr[1:n]:
        if value < smallest:
            smallest = value
            count = 1
        elif value == smallest:
            count += 1

    return count