Fix variantsCount function