human
count number of ocurrences of a number in a list.
assistant
Here is a Python function to count number of appearances of a number in a list

import numpy as np

def _count_number_of_occurences(number, list):
    """
    Count number of ocurrences of a number in a list
    """
    return len([i for i in list if i == number])

# Enter the list
list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

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

#Example Output
# 1

#Remember to inspect code for bugs.