I have a list look like this:
Lux = ([ 0 0 0 0 0 120 120 120 120 120 240 240 240 240 240 0 0 0 0 0 120 120 120 120 120])
I want to count how many zeros I have, but only from the 14 place, and let say until 16 place The answer will be in this case 2. I know that count function count all the appearance. How can I do it, but with out loop? I want this when I'm already in two loops, and don't want to add another one.
Thank you.
count(Lux[14:16]).