<doocs>2255.Count Prefixes of a Given String_1.py
def countPrefixes( words: List[str], s: str) -> int:
    return sum(word == s[: len(word)] for word in words)
def sample_funcname ( var_0 : List [ str ] , var_3 : str ) -> int :
    return sum ( var_6 == var_3 [ : len ( var_6 ) ] for var_6 in var_0 )
