add pool_size method