Switch to counting bitmapsPending types. group relies on GC.

Change-Id: I7ad5f966d8328f9b4c14aff3e693b6f03c6d4c91