use right var to count task members