When any defendant, in any action, shall plead several matters, any of which shall, upon motion joined, be adjudged insufficient, or if a verdict shall be found on any issue in the case for plaintiff, costs shall be given at the discretion of the court.
§ 514.080, RSMo
RSMo 1939 § 1408, A. 1949 H.B. 2122