a=input()
b=input()
print(len(a.split(b))-1)
s=input()
res = {}
for i in str:
res[i]=res.get(i,0)+1
print(res)
#!/usr/bin/python
# -*- coding: UTF-8 -*-
"""
@author: Roc-xb
"""
if __name__ == '__main__':
str = "jadklfjlakjflkdjaldjglkajg"
d = {}
for i in str:
if i not in d.keys():
d[i] = 1
else:
d[i] += 1
print(d)
望采纳!谢谢
dic=dict()
d={}
s=set()
s=input()
d=dict()
for x in s:
if x not in d.keys():
d[x]=1
else:
d[x]=d[x]+1
print(d)