There is no rotation possible along the internuclear axis. That removes one angle from the 3 Euler angles needed to describe the orientation of the molecule, and hence also removes an angular momentum component. That leaves 4 angular degrees of freedom, plus 3 coordinates and 3 momenta for the center of mass motion.