Pregunta de entrevista de Fast Enterprises

Write a function that counts all the "A's" in a string.