(Sorry For my English)
I have a Problem with the perf_counter.

I have Mssql 2008 installed with 32bit Instance and 64bit instance on a Windows 2008 r2 64bit.

So I use perf_counter["\MSSQL$Instance64bit:General Statistics\User Connections"] and that work...