Add a new api to retrieve bot statistics