```
Object.keys(selectedContacts).length

```
can do the same work without a loop, right?