printing count of secondary keys