I tried a little something.
It seems that the aqObject.CompareProperty primarily expects the property and the value for comparison to be strings, not integers. If change the code to
Count := '0';
CountDiff := '0';
Then I get
cmpLess 9:19:23 Normal
[error]The property value "0" is greater than the baseline value "0" or equals it. 9:19:23 Normal
cmpLessOrEqual 9:19:23 Normal
[normal]The property value "0" is less than the baseline value "0" or equals it. 9:19:23 Normal
cmpGreater 9:19:23 Normal
[error]The property value "0" is less than the baseline value "0" or equals it. 9:19:24 Normal
cmpGreaterOrEqual 9:19:24 Normal
[normal]The property value "0" is greater than the baseline value "0" or equals it. 9:19:24 Normal
So, I'd suggest making sure, for now, that the values you're comparing to (your CountDiff variable) are converted to strings using aqConvert.VartoStr.