Count by Python

hello, I am limited Python user, and I try to write a simple script to count lists of elements, number… but I get an empty value!!!

What do you mean by count, number?
count() method is for strings:

use instead:

xOut = range(len(count))

If you just want to know the number of elements in the list, use:

len(count)

super thanks