cars = ['Benz','BMW','Ford','Ferrari','volkswagen','BMW']
numbers= [1,5,2,5,7,1,3,3,1,6]
bmwCount = cars.count('BMW')
print("total no BMW count is = ",bmwCount)
numCount = numbers.count(1)
print("The count of number 1 is = ",numCount)
numCount = numbers.count('3')
print("The count of number 3 is= ",numCount)
list_number = [6, 3, 8, 0]
length = len(list_number)
colors = ['red', 'green', 'blue', 'orange','blue']
color_count = colors.count('blue')
print('The count of color: blue is ', color_count)
numbers = [2, 3, 5, 2, 11, 2, 7]
count = numbers.count(2)
print('Count of 2:', count)
cars = ['Benz',('volkswagen','BMW'),'Ford','Ferrari',('volkswagen','BMW')]
numbers= [1,(1,3),5,7,(1,3),3,1,6,(1,3)]
bmwCount = cars.count(('volkswagen','BMW'))
print("total no BMW, volkswagen count is = ",bmwCount)
numCount = numbers.count((1,3))
print("The count of number 1,3 is = ",numCount)