Fixed profile ID counting and displaying.