Finite groups having exactly 22 elements of maximal order