text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_11240028_1 (duration VARCHAR, portrayed_by VARCHAR)
  ### Question:
  What was the duration of Robert Joy's portrayal?
  ### Answer:
  SELECT COUNT(duration) FROM table_11240028_1 WHERE portrayed_by = "Robert Joy"