code: func (pool *TxPool) Stats() (pending int) {
  	pool.mu.RLock()
  	defer pool.mu.RUnlock()
  
  	pending = len(pool.pending)
  	return
  }
docs: // Stats returns the number of currently pending (locally created) transactions