No problem: WinGet , varTally, Count
What the ...! The count was many hundreds, sometimes in the thousands.

Manual count 1, 2, 3.
Three
Where did the rest reported by WinGet come from?
Used WinGet varList, List to list them all by name but many had no name.
Listed them by class and also by text - it appears to be counting controls within windows and also tooltips.
How can I get a count of just windows, real windows?