Which of the following would be included as investment in the GDP accounts?

A. the government buys goods from another country
B. someone buys stock in an American company
C. a firm increases its capital stock
D. All of the above are correct.