If the real property, the subject of the action, be an entire tract, and situated in two or more counties, or if it consists of separate tracts situated in two or more counties, the action may be brought in any county in which any tract or part thereof is situated, unless it be an action to recover the possession thereof. And if the property be an entire tract, situated in two or more counties, an action to recover the possession thereof may be brought in either of such counties; but if it consists of separate tracts in different counties, the possession of such tracts must be recovered by separate actions brought in the counties where they are situated.
Neb. Rev. Stat. §§ 25-402