Are you only interested in the count, or knowing the device IP address? or the device type? etc.
If you only want IP present / not presnt, you can easily do this with the ping node.
You could adapt this solution: Build automatic hyperlink in html table - #3 by Steve-Mcl