added fix for correct counting of the number of pixel hits in SLHC detector geometries