Print how many times the substring gold appears in the given string.
Input
One lowercase string of length $1$ to $50$.
Output
Print the number of occurrences of gold.
Example 1
Input
aagoldaagoaald
Output
1
Discussion
Threads about this problem. Spoilers are collapsed; wrap hints in
||double bars||.No discussion yet. Start a thread if something here needs explaining.