from typing import Dict
from typing import Tuple


def get_line_found_and_hit(dict: Dict[int, int]) -> Tuple[int, int]:
    """Return the count for entries (found) and entries with an execution count
    greater than zero (hit) in a dict (linenumber -> execution count) as
    a list (found, hit)"""
    found = len(dict)
    hit   = sum(1 for count in dict.values() if count > 0)
    return (found, hit)