Add ActiveRecord::Base.connection_pool.stat
#26988

Paxa wants to merge Paxa:connection_pool_stat into rails:master

We do not currently have an analysis of these two commits