fixed TypeCount