fix availabe/checkedout counting for pools