PIM-1503 : fix count of products (distinct)