The costs which a party is entitled to recover may be collected by execution to enforce the judgment as a part thereof.