# Count Property

> Returns the number of Style objects in a Styles collection, the number of formatting styles a Text Control document contains, as a Long. Run time only.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Text Control ActiveX > API Reference > Styles > Count Property
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/styles/count-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/styles/count-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/styles/count-property/llms-full.txt

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-text-control-activex/reference/styles/count-property/#syntax)
- [Data Types](https://docs.textcontrol.com/tx-text-control-activex/reference/styles/count-property/#data-types)
- [Limitations](https://docs.textcontrol.com/tx-text-control-activex/reference/styles/count-property/#limitations)
- [See Also](https://docs.textcontrol.com/tx-text-control-activex/reference/styles/count-property/#see-also)

---

## Nearby

- **Previous:** [Styles Collection Object](https://docs.textcontrol.com/tx-text-control-activex/reference/styles/llms.txt)
- **Next:** [Item Method](https://docs.textcontrol.com/tx-text-control-activex/reference/styles/item-method/llms.txt)
