Use consistent null-including query across DBs for distinct count