json.subjects do
json.partial! 'subject', locals: {subjects: @subjects}
end
json.total_count @subject_count