Count the colgroup of an object of ztable
colGroupCount(z)
z
An object of class ztable
A vector indicating the position of colgroup