#include using namespace std; using ll = long long; #define FOR(i,a,b) for(ll i=(a);i<(b);++i) #define ALL(v) (v).begin(), (v).end() #define p(s) cout<<(s)<> T; FOR(i, 0, T){ string s; cin >> s; ll ans = how_many(s); p(ans); } return 0; }