Body counts won't deter the Chi-coms. The Chinese People are disposable property of the state.
What may deter the Chi-coms is the prospect of internal strife, chaos, and revolution occurring as a result of military action against Taiwan.
A Taiwan defense plan should also include covert and clandestine means to destabilize and China internally. Taiwan cannot win militarily, but it could have some success with asymertical, irregular warfare. Plan to make Taiwan a pyrrhic victory for the Chinese Community Party - tactical victory that ends in strategic defeat.