Question d’entretien chez Fast Enterprises

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