The fraction shows 2/11 pieces were left.
This means, the birthday cake was divided into 11 pieces, 9 of them were eaten and 2 pieces were not eaten.
To ensure this we can add the fraction 2/11 (pieces left) and 9/11(pieces eaten). Since this results in 1 i.e. a whole cake, total pieces of the cake were 11
Thus the answer to this question is 2.