fixed broken software packages counter