MSSQL Data Counts as Single Stat

Im trying to figure out how to create a single stat to do a “count” of data in a table for a given time range and have it display as a single stat