mi_integer mi_qual_nquals(MI_AM_QUAL_DESC *qualDesc);
The return integer indicates the number of qualifications in an AND or OR qualification expression. A return value of 0 indicates that the qualification contains one simple function and no Boolean operators.
See the description of Complex Boolean Expressions.