Since a year has 365 days, if Gavin has been having 4 dreams every day for a year now, he has had 4*365 = <<4*365=1460>>1460 dreams this year.

Gavin had twice as many dreams last as he had this year, meaning he had 2*1460 = <<2*1460=2920>>2920 dreams last year.

The total number of dreams he has had in the two years is 2920+1460=<<2920+1460=4380>>4380 dreams.

# Answer

4380
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Gavin has had 4 dreams every day for a year now. If he had twice as many dreams last year as he had this year, calculate the total number of dreams he's had in the two years.
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
4380
Gavin has had 4 dreams every day for a year now. If he had twice as many dreams last year as he had this year, calculate the total number of dreams he's had in the two years.
train