U.S. Defense Secretary Robert Gates is in Pakistan to discuss counter-terrorism efforts and the Taleban insurgency in neighboring Afghanistan .