This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] Bond orders: $\text{C}_2=2$, $\text{O}_2=2$, $\text{Be}_2=0$, $\text{Li}_2=1$, $\text{Ne}_2=0$, $\text{N}_2=3$, $\text{He}_2=0$. So $2$ molecules. Answer: 2.