Question: counting the elements of a list with respect to a condition

Hi,

How can we do sth like the below example:

L:=[1,2,3,2,4,6,5,0,9,0,3,4,4];
number of elements greater than 1 and smaller than or equal to 3

ans=4

Please Wait...