11 lines
217 B
Python
11 lines
217 B
Python
lettreRech = input()
|
|
nbLignes = int(input())
|
|
count = 0
|
|
|
|
for loop in range(nbLignes):
|
|
texte = input()
|
|
for lettre in range(len(texte)):
|
|
if texte[lettre] == lettreRech:
|
|
count +=1
|
|
|
|
print(count) |