Total Monitored Devices Count SQL Query

Total Monitored Devices Count SQL Query

Is there an SQL query that can be run that will return the "Total Monitored Devices" count?