A 77-year-old woman is evaluated for new-onset fatigue and anemia. She otherwise feels well. Medical history is unremarkable, and she takes no medications.

Physical examination findings, including vital signs, are normal. BMI is 22.

Colonoscopy identifies a 7-cm mass in the transverse colon. Biopsy of the mass shows poorly differentiated adenocarcinoma. Contrast-enhanced CT scans of the chest, abdomen, and pelvis show the mass, but no other abnormalities are identified.

Which of the following is likely to be the most important factor in determining this patient's prognosis?