~/algor $ cat problems/string-harf-necha-marta
How many times a letter occurs
Easy
1000 ms
128 MB
22%
A string $s$ of lowercase Latin letters and a letter $c$ are given. Find how many times $c$ occurs in the string.
Input
The first line contains the string $s$, the second line a single letter $c$.
Output
One integer.
Note
$1 \le |s| \le 10^{5}$
$s$ consists of lowercase Latin letters (a–z) only
$c$ is a lowercase Latin letter
Examples
Input #1
banana a
Output #1
3
Input #2
salom z
Output #2
0