At this time, QuickBooks Online doesn't have a specific option to count the total number of transactions you've entered over a period of time.
As a workaround, you can run and customize the Transaction Detail by Account report to a particular type of transaction and report period. Then, export it to Excel. Here's how: