I want to query a table and get the total number of rows that fit the given query:
ALTER PROCEDURE [dbo].[GetTransactionsFromTransactionRecordForMonthYear] @G