- Added a more sensible name for the component type count constant.
- Also added related docs.