How to alter the InvoiceID/ContributionID count
You want to change the auto-increment number:

ALTER TABLE civicrm_contribution AUTO_INCREMENT = 4356;


Note that this is very dangerous if you set the number backward rather than forward.