Find the Number of Anagrams in A Given Array