Add TrailCount for action performance view
Replace size_t with unsigned