Ping command to return the number of successful pings.
(The CLI ping command still returns 0 or 1 only).
Refactor HostScanResult into a separate class.