Also get_pool_pg_count can be refactored to set of small functions. It could improve code readability and tests coverage.
Also get_pool_pg_count can be refactored to set of small functions. It could improve code readability and tests coverage.