Added Search.getAllHostsCount() & tests