The XMM Cluster Survey: The Halo Occupation Number of BOSS galaxies in X-ray clusters