In all criminal prosecutions where an indictment shall be found and judgment for costs against the defendant shall be rendered, there shall be taxed for the use of the county the following fees for the services of the prosecuting attorney, to-wit: For drawing an indictment, 2 dollars; for trying the cause, 4 dollars; for arguing each motion in arrest of judgment, or for a new trial, 2 dollars; for services where exceptions are taken by defendant, 2 dollars; for every discharge of the prosecution on the acknowledgment of satisfaction in such cases as are authorized by law, 2 dollars.
MCL 775.11