Let C ⊆ F n q m be an F q m -linear non-degenerate rank metric code with dimension k. In this paper we investigate the problem of determining the number M (C) of codewords in C with maximum weight, that is min{m, n}, and to characterize those with the maximum and the minimum values of M (C).