added heartbeat to number of clients