Using count() to formulate subset/superset queries