They pledged to strengthen counter-terrorism efforts. Earlier, foreign ministers discussed bilateral cooperation and a free Indo-Pacific.