What’s the difference between Count and Count ALL?

Count is used to count distinct things. 

Count All is used to count all the rows the query returns.

Report Variable syntax: