def count_integer(list1):
    return sum(1 for x in list1 if isinstance(x, int) and not isinstance(x, bool))