from typing import List


def count_occupied(seating: List[List[str]]) -> int:
    """Count the number of seats that are occupied."""
    count = 0
    for row in seating:
        count += row.count('#')
    return count