OpenGL ovelay verification

Is there a way I can query the hardware to obtain the # of overlay planes it supports? I plan to run some tests on commercial graphic cards to see their hardware support for 8 bit overlay planes. Many cards claim they support it but they only have 3~4 bits of overlay planes.

Any help is greatly appreciated