count the number of integers in list `a`,"sum(isinstance(x, int) for x in a)"