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_22824324_2 (three_pointers VARCHAR, points VARCHAR)
### Question:
How many games had three pointers where the number of points was 581?
### Answer:
SELECT COUNT(three_pointers) FROM table_22824324_2 WHERE points = 581