fix compiling item counts by not including MKDIRs in the item list
Merge pull request #1443 from cxmcc/fix_compile_item_count

fix compiling item counts by not including MKDIRs in the item list