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_45 (losses VARCHAR, ntfa_div_2 VARCHAR, wins VARCHAR)
  ### Question:
  How many Losses have an NTFA Div 2 of perth, and Wins smaller than 10?
  ### Answer:
  SELECT COUNT(losses) FROM table_name_45 WHERE ntfa_div_2 = "perth" AND wins < 10