Is the calculation of COGS in a coffee shop calculated as: Beginning inventory + purchases - ending inventory or do I have to include more variables?