(1) The party recovering judgment shall recover all his or her legal costs and charges which shall be included in the judgment; but this section does not apply to executors or administrators in actions when they are not liable for costs.
(2) Costs may be collected by execution on the judgment or order assessing costs.