in reply to Extracting WQL "count" results
I might be missing something, but I don't see any references to a count() function in Microsoft's online WQL documentation. (WQL != SQL)
It's possible that WbemTest uses the WMI ODBC adapter. Maybe you could try using that instead?
In Section
Seekers of Perl Wisdom