fixed missing file count on json task