Use the built-in len() function. Here is an example:
len()
numbers = [1, 2, 3] print(len(numbers))
This prints 3 to the screen since numbers has length 3.
3
numbers