[AI-223] Filter by attributes: refactored sitecount to filterdata query