Two: my 6.8SPC upper and my 5.56mm LMT MRP upper both have mid-length gas systems.
Based on my experience, it's better to go with a rifle-length gas system in an 18". They run reliably and the gas pulse is less abrupt, which means the rifle is upset less during recoil.
-z