Given a word and a text, return the count of the occurences of anagrams of the word in the text(For eg: anagrams of word for are for, ofr, rof etc.))
The first line of input contains an integer T denoting the number of test cases. The description of T test cases follows.
The first line of each test case contains a text consisting of only lowercase Latin Letters.
The second line contains a word consisting of only lowercase Latin Letters.
Print the count of the occurences of anagrams of the word in the text.
1 <= T <= 50
1 <= |word|<= |text| <= 50
here |word| denotes the size of word and |text| denotes the size of text
for, orf and ofr appears in the first test case and hence answer is 3.