In the given reaction,The number of \( \text{sp}^2 \) hybridized carbon(s) in compound ‘X’ is _______.