<<over the eights: nine's too many>>

I have read about a similar source for "mind your Ps and Qs," a line once used to admonish sailors going ashore leave to "mind [their] pints and quarts."