The AKP has the backing of the opposition Nationalist Action Party and the two together have enough votes to secure the two-thirds majority of 367 votes in the 550-seat parliament to amend the constitution .