The expression is not giving you the total on each row because it is taking the dimensions into consideration. The counts will only be done on transactions that matches the table dimensions.
To get a total value, the same on each row, use TOTAL in your aggregation function.