add total keys output