Whenever any convict is sentenced by the court and required to do hard labor for the county, an additional sentence not to exceed 10 months in any case for the payment of costs of conviction may be imposed, and the court must determine a reasonable time required to work out such costs. The costs of conviction of county convicts shall be the same as provided by law now in force in the respective counties.
Ala. Code § 14-4-10 (1975)