SQL Query error for getting count of products that matches you requested