How to count the number of occurences of `None` in a list?,len([x for x in lst if x is not None])