GC count bugfix