CREATE TABLE table_name_27 (poles VARCHAR, position VARCHAR, points VARCHAR)

What is the total number of Poles, when Position is 6th, and when Points is less than 164?
SELECT COUNT(poles) FROM table_name_27 WHERE position = "6th" AND points < 164
SELECT COUNT("poles") FROM "table_name_27" WHERE "6th" = "position" AND "points" < 164