!/^\./ and $cnt++ for readdir( DIR );