Q. Given a string as input. Count number of a's in the string? Input : "abacd" Output : 2
Q. Given a string as input. Count number of a's in the string?
Input : "abacd"
Output : 2