Given a list of words, determine how many anagrams are present.