Find the occurrences of a character in an input string Challenge

Write a program that, given a string x which is 10 characters long and a character y, outputs the number of times character y occurs in string x.

The shortest program in bytes to do so wins.

Example

Input: tttggloyoi, t
Output: 3




Input: onomatopoe, o
Output: 4
Pyth, 3 bytes

/ww


Example run:

$ pyth -c '/ww'
sdhkfhjkkj
k
3


Of course, the user could input more or less than 10 letters on the first input, but we don't need to worry about what happens when the user violates the spec.