This is expected, but can also be addressed by an upcoming overhaul of grouping behaviour. The reasoning for the current count is, that all operations apply to all items in a group and thus contribute to the count. As this will change, I agree the counts should change back to showing number of visible items.