The Independent State of Samoa is a country in Pacific Ocean . It has nine islands . É , officially the Independent State of Samoa , formerly known as Western Samoa and German Samoa , is a country encompassing the western part of the Samoan Islands in the South Pacific Ocean .