more fixes specially to count data of all instances of each process