Fix count for problems found when using pkg