Every county is a body corporate, with power to sue or be sued in any court of record.