# sbch\_getAddressCount

Returns the times addr acts as a to-address or from-address of a transaction.

Parameters:

1. `String`, kind of the query, could be `"from"`, `"to"`, or `"both"`
2. `DATA`, 20 Bytes - EOA or contract address

Returns:

`QUANTITY` - integer of count
