SQL Server Pagination with COUNT(*) OVER() Window Function

A simple SQL Server trick that eliminates the need for separate count queries when building paginated APIs.