json.graduation_subitems do json.array! @graduation_subitems do |graduation_subitem| json.extract! graduation_subitem, :id, :position, :content json.graduation_requirement_position graduation_subitem.ec_graduation_requirement.position end end json.count @graduation_subitems.size