0 / 60 seg.

¿Qué hace la siguiente función?

def contar_caracteres(texto, caracter):
    return texto.count(caracter)