Remove product attributes count query. Check directly number of rows from query resultset