#include using namespace std; using ll = long long; using P = pair; #define rep(i,n) for(int i=0;i> s >> t; int ans = 0; int pos = s.find(t); while (pos != -1){ ans++; pos = s.find(t,pos+t.size()); } cout << ans << endl; return 0; }