rwho01: fix getting hostnames from command output and $COUNT

Fix the way the script gets hostnames from rwho/ruptime command output,
and the mistake that $COUNT is used instead of $TST_COUNT in do_test().

Signed-off-by: Simon Xu <xu.simon@oracle.com>