I don’t think we have a counter for warning.
Please find the list of analysis counters available.
I would also request you to logon to the server where analysis is install add and check directly for PI AF analysis counters in Performance counters(windows)
Yeah, I looked through the list on the server. I was mostly asking in case I didn't recognize the name.
There is no performance counters for the number of analyses in warning.
The analyses in warning are written to the log file located in %ProgramData%Osisoft\AnalyticsNotifications\Logs.
In the 2018 SP2 release of the AF SDK due out in a few months, the status of analyses will be exposed. Consequently, you could write a simple app (PowerShell, C#, etc...) to automatically retrieve the number of analyses in warning.