Having a contentArea are I wish to progrematically to determine which blocks are visible and which are not using the specifc content groups?
Asked in another way:
Model.MyContentArea.Items.Count gives me the number of total items. I need the number of visible items
Does this work for you?
var count = currentPage.MainContentArea.FilteredItems.Count();
Having a contentArea are I wish to progrematically to determine which blocks are visible and which are not using the specifc content groups?