fix tags for batteries_thread
Gen.count (alias for Gen.length)