If a tract of land lies in two or more counties, an action relative to it, to which neither a county, the city of Boston nor any corporation named in section eight is a party, may be brought in any of said counties, and the complaint shall be so drawn as to include the whole tract.
Mass. Gen. Laws ch. 223, § 12