Don't count nulls and empty strings in distinct counts