fix option types that use $count to select the option value