how to count the number of values in a list python code example
Example 1: how to find the amount of numbers in a list on python
>>> someList=[]
>>> print len(someList)
0
Example 2: count number items in list python
mylist = ["abc", "def", "ghi", "jkl", "mno", "pqr"]
print(len(mylist))
# output 6