Find the number of permutations of four letters from the word MATHEMATICS.

There are 2 of M,A and T, So we have to divide the permutations by . or do I find the number of permutations with two pairs of letters, and permutations with one pair of letters, and the number of permutations without any pairs of letters?

Thanks