Choice "D" is correct. While an agent (consignee) will hold and sell goods on behalf of the consignor, until the inventory is sold, the seller (consignor) will include in his/her inventory because title and risk of loss are retained by the consignor.
Choice "c" is incorrect. The consignor will count the inventory in his/her ending inventory.
Choice "a" is incorrect. The goods should be included in the COGS of the consignor only when sold.
Choice "b" is incorrect. When the goods are sold to a third party, then the consignor will include them in COGS.