CodeLab Academy 📞 9936 6696
← List Python · Level 6: Strings Code · 60 points ← #533 #535 →

#534. How many times does the character appear?

The first line has a text, the second line has one character. Count how many times that character appears in the text. ### Input Two lines. ### Output A number.

Examples

Input
level river kayak list forest castle
e
Output
5
Input
python summer keyboard kayak computer input
o
Output
3

💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!