How to get count of a category in xPage view control like @DocChildren

Hi, I’m new to xPages and have used the view control to point to a notesview and have been able to figure out how to get sorted columns and that it displays a categorized view easily.

My question is, in the old days you could use a formula like Region + " (" + @DocChildren + “)” to show a COUNT of documents in a particular category. Using this formula on the underlying view does not work with an xPage view control.

Does anyone know how I could get that xPage view control to show a count of documents in each category?

Thanks…