Fix list file bug

Task count for list file is wrong, fix it