fix related products counter