check only REG and DIR for lsof
count only REG and DIR when using lsof
only check REG and DIR
jshint