my_list = [1, 2, 3, 1, 4, 1]
count_of_ones = my_list.count(1)
print(count_of_ones)  # 3