fix file count null check
0.2.1