suppose you have a list
a = [0,1,2,3,4,5,6,7,8,9,10]
now if you want to count the items in your list. you should have a value at your disposal
suppose you want to check the count the number of times 2 is in your list.
it will give you the count.
In this case if you want the number of items in your list you can just check the length
it will give you the number of items in your list.