
## ListCollection.count property

Gets the count of numbered and bulleted lists in the document.


```python
@property
def count(self) -> int:
    ...

```

### Examples

Shows how to verify owner document properties of lists.

```python
doc = aw.Document()
lists = doc.lists
self.assertEqual(doc, lists.document)
doc_list = lists.add(list_template=aw.lists.ListTemplate.BULLET_DEFAULT)
self.assertEqual(doc, doc_list.document)
print('Current list count: ' + str(lists.count))
print('Is the first document list: ' + str(lists[0].equals(list=doc_list)))
print('ListId: ' + str(doc_list.list_id))
print('List is the same by ListId: ' + str(lists.get_list_by_list_id(1).equals(list=doc_list)))
```

### See Also

* module [aspose.words.lists](../../)
* class [ListCollection](../)

