No costs shall be paid from the county treasury in any case of prosecution for a misdemeanor except as provided in section 29-2709.

Source