human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Rank, Gold, Silver, Bronze, Total
###Question: How many total gold are less than 4?
gpt
SELECT COUNT Gold FROM table WHERE Total < 4