Task: Question Generation
Input (English): According to the official Twenty-Four Histories, the History of Ming compiled in 1739 by the subsequent Qing dynasty (1644–1912), the Ming dynasty established the "É-Lì-Sī Army-Civilian Marshal Office" (Chinese: 俄力思軍民元帥府) in western Tibet and installed the "Ü-Tsang Itinerant High Commandery" and "Amdo-Kham Itinerant High Commandery" to administer Kham. The Mingshi states that administrative offices were set up under these high commanderies, including one Itinerant Commandery, three Pacification Commissioner's Offices, six Expedition Commissioner's Offices, four Wanhu offices (myriarchies, in command of 10,000 households each) and seventeen Qianhu offices (chiliarchies, each in command of 1,000 households).
Output (English): How many Qianhu offices were there?