The legislative powers of a charter city shall be vested in a mayor and a city council, to consist of such number of members and to have such powers as may be provided for in its charter. The charter may provide for direct legislation by the people through the initiative and referendum upon any matter within the scope of the powers, functions, or duties of the city. The mayor and council and such other elective officers as may be provided for in such charter shall be elected at such times and in such manner as provided in Title
29A RCW, and for such terms and shall perform such duties as may be prescribed in the charter, and shall receive compensation in accordance with the process or standards of a charter provision or ordinance which conforms with RCW
35.21.015.