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_25 (played VARCHAR, bp VARCHAR, pts_agst VARCHAR)
  ### Question:
  B.P. of 0, and a Pts Agst smaller than 247 has how many total number of played?
  ### Answer:
  SELECT COUNT(played) FROM table_name_25 WHERE bp = 0 AND pts_agst < 247