The phrase "stats is sweet" has n=12 letters.
The letters s, t and e are repeated in the phrase.
The number of "s" in the phrase, r1=4.
The number of "t" in the phrase, r2=3.
The number of "e" in the phrase, r3=2.
Using permutation, if there are n objects with r1 objects of one type, r2 letters of another type ....and rm letters of another kind, then the number of ways of arrangement is,
Hence, the number of ways the letters in the phrase "stats is sweet" can be arranged is,
Substituting the values,
Therefore, the number of ways the letters in the phrase "stats is sweet" can be arranged is 1663200.