```python
def count_integer(list1):
    """
    Counts the number of integers in a given list.

    This function iterates through the list and counts only the elements
    that are of the exact type 'int', excluding subclasses like 'bool'.

    Args:
        list1: A list containing elements of various types.

    Returns:
        An integer representing the count of integer elements in the list.
    """
    return sum(1 for item in list1 if type(item) is int)

```