I used queries like this to compare counts between wikidata and our wdtruthy service.
- For the first 2 queries we use count(distinct ?x): they have prop path but a small result population
- For the other queries we use count(*) because it's much faster