spnGetGrpCount function

Number of groups loaded in the top tab/spec-tree