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_name_9 (total INTEGER, premier_league VARCHAR, league_cup VARCHAR)
  ### Question:
  How many totals have a Premier League smaller than 6, and a League Cup larger than 0?
  ### Answer:
  SELECT SUM(total) FROM table_name_9 WHERE premier_league < 6 AND league_cup > 0