Again, it is based off of the forward voltage of the LEDs. The XR-E's have an average forward voltage of 3.5V at 700mA. Twelve of those in series would be approximately 42V, which leaves you a decent headroom on the 48V driver being used in case you happen to get some that are higher.
The XP-G's have an average of 3.3V at 1A, which is approximately 40V for 12, but can go as high as 3.75V at 350mA (there are no published specs at 1A, but they do vary relatively linearly with the current), so you are still likely safe at 12, but may not be with more.
Again, the XM-L's have a lower forward voltage than either the XP-G's or the XR-E's, but can still get up to 3.5V at 350mA, and will be even higher at higher currents. The average forward voltage at 1.5A (the current I think most people will likely use with them in series) is 3.1V.
I'm an engineer, and when supplying a rule-of-thumb, would prefer to be a little bit conservative. However, looking at the numbers, there is not that much room for variation. I would definitely be hesitant to recommend 14 XP-G's, even at a conservative current (1A), and I would never recommend 16 XM-L's at even 50 percent of their rated current as just the average forward voltage of those would exceed the rated output of this driver.
CJ