Please follow the steps below to count numbers with commands:
Step 1: Select the data range;
Step 2: Click the Home Tab from the ribbon;
Step 3: Click "AutoSum" in the Editing section, and select "Count Numbers" from the drop-down list;
Step 4: The result will appear at the bottom of the column. It is 7 in this example.