An anagram is a word or phrase formed by rearranging the letters of another. A gram is a unit of weight measurement. For instance, something that weighs 1 kilogram weighs 1000 grams, or something that weighs 1 milligram weighs 0.001 grams. The joke is trying suggest "anagram" would follow the same pattern. 
I wonder how much an anagram weighs ?