This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] The tetrapeptide Ala-Gly-Phe-Ile has $3$ amide $C=O$ carbons and $1$ terminal $-COOH$ carbon (all $sp^2$): $4$. The phenyl ring of phenylalanine adds $6$ $sp^2$ carbons. Total $=4+6=10$. Answer: 10.