Apply today's stock_count to warehouse with one MERGE: counted qty 0 → delete the SKU; other matches → set the new qty; new SKUs → insert.
stock_count
warehouse
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.