How many ressources use a program