Made pool counter better handled nested calls

* This is useful for the "GetLocalFileCopy" pool for example.

Change-Id: Ie9f092fb595d12ebc6548571cecbd2f4251297db
Merge "Made pool counter better handled nested calls"