title: Python 4.7: How to count the frequency of specific value in array
body: <p>Basically I have a list with 250 elements, some of them are 1 some 2 and some 3. How do I get a variable that represents the number of ‘1’s ?</p>