Answer:
It is counted in the current year as investment.
Step-by-step explanation:
This type of spending is still included in the GDP because it's production. The definition of GDP is all final goods and services produced in the economy in one year. So even if these consumer goods are not sold, they were still produced.
We include them as investment, not consumption or government spending. Investment spending refers to the spending of firms or businesses; they're preparing in advance, investing in their future sales, if you will.