In OF2 molecule, the total number of bond pairs and lone pairs of electrons present is/are 2 and 8. Hence, the answer is 28.
There are two bond pairs of electrons which forms two O-F bond pairs. O atom has two lone pairs of electron. Each F atom has 3 lone pairs of electrons. Thus in total there are 8 lone pairs of electrons.