Cost of goods refers to the production cost of an individual item. COG for app store is zero. You don't even pay for hosting your app on the app store.
Software developers are R&D, not cost of goods.
There is R&D associated with Starbucks coffee as well (researching beans, refining the blends, etc), but nobody really factors that into its perceived value.