Table schema:
CREATE TABLE table_name_27 (poles VARCHAR, position VARCHAR, points VARCHAR)

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