def count_coverage(filename):
    """Count the number of covered and uncovered lines in a file."""
    covered = uncovered = 0
    with open(filename) as file:
        for line in file:
            if line.startswith('>>>>>>'):
                uncovered += 1
            elif len(line) >= 7 and not line.startswith(' ' * 7):
                covered += 1
    return covered, uncovered
