<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def score_x_of_a_kind_yatzy(dice: List[int], min_same_faces: int) -> int: """Similar to yahtzee, but only return the sum of the dice that satisfy min_same_faces """

    for die, count in Counter(dice).most_common(1):
        if count >= min_same_faces:
            return die * min_same_faces
    return 0