Adds python binding to work_queue_get_stats_hierarchy