<human>:  How many emperors were there in ancient China?
<bot>: There were a total of 23 emperors in ancient China. The first emperor was Qin Shi Huang, who unified China in 221 BC. The last emperor was Qin Shi Huang's grandson, Qin Shi Huang's great-grandson, and Qin Shi Huang's great-great-grandson.