FIX: COUNT DISTINCT with no matches

Fix COUNT DISTINCT with no matches, e.g.:

SELECT (COUNT (DISTINCT ?s) AS ?n) { ?s <http://example.org/DNE> <http://example.org/DNE> }