Costs imposed in prosecutions
(a) A cost of twenty dollars shall be imposed against any person convicted of a felony, and a cost of fifteen dollars shall be imposed against any person convicted of a misdemeanor or convicted under section 14-219, 14-222, 14-224, 14-225, 14-227a or 14-227m or subdivision (1) or (2) of subsection (a) of section 14-227…