Envoyer par SMS: The number of inversions of permutations with fixed shape