<human>:  Give me a Python function to count number of appearances of a number in a list.
<bot>:

# Calling the function
print((_count_number_of_occurences(1, list)))

#Example Output
# 1

#Remember to inspect code for bugs.