The counter in the Calc Views works as COUNT DISTINCT.
So, it's showing the expected value, since you're counting TYPE_NAME.
Try to create the counter on top of TYPE_ID.
You'll have to add TYPE_ID to the projection, but you can then suppress (hide) it in the Output component.