Problem

Return how many lowercase 'a' characters appear in s.

Examples

  • countA("aba") -> 2
  • countA("xyz") -> 0
Compile and test (Ctrl+Enter)