def get_num_nodes(properties=None, hadoop_conf_dir=None, offline=False):
return len(get_task_trackers(properties, hadoop_conf_dir, offline))<EOL>
Get the number of task trackers in the Hadoop cluster.

All arguments are passed to :func:`get_task_trackers`.