---
title: "readAttributeRouterRoleCount(with:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclusterthreadnetworkdiagnostics/readattributerouterrolecount(with:)"
---

# readAttributeRouterRoleCount(with:)

## Declaration

```swift
func readAttributeRouterRoleCount(with params: MTRReadParams?) -> [String : Any]?
```
