glpi: add software count for report and license count

Actually, licence count number of machines who have software.
I added a method to count softwares instead of just machines.

Example: a single machine have 5 firefox with 5 different version:

Before: return 1 (one machine)
With this method: return 5 (5 installed firefox)