Requiring the imposition of specified court costs if a defendant is sentenced to probation before judgment for or pleads nolo contendere to a specified crime or offense.