I\'m doing a COUNT but cannot get the value 0 when there are no rows in the result.
If I remove the where condition: AND documentstats.OPENINGDATE >= \'2021-01-01T