json.exercises_count @my_exercises_count
if @current_user_exercises.count > 0
  json.my_exercises do
    json.array! @current_user_exercises do |exercise|
      json.exercise_name exercise.name
      json.exercise_description exercise.description
      json.exercise_id exercise.container_id
    end
  end
else
  json.my_exercises []
end