Every county is a body politic and corporate, and as such has the powers specified in this title or in other statutes, and such powers as are necessarily implied from those expressed.