counting positive elements in a list with python list comprehensions,len([x for x in frequencies if x > 0])