If the dead cells were shed, I might agree! But they're not.

This is like counting the dead skin cells that are still attached, which (sure enough!) does count toward animal biomass.