How many covalent bonds are there in carbon suboxide?
Widely used terminology might not match what an examination wants
It is possible that your question wants the answer 8 in this context, but whether this answer would be widely accepted by anyone familiar with bonding theory is doubtful.
In the early days of theories about bonding Lewis described bonds as consisting of two shared electrons. You are probably familiar with &quot;Lewis Structures&quot; which are simple pictures of bonding where electrons are represented with two dots between atoms. This is also how the theory of bonding is initially introduced to students. In this view the number of bonds in the molecule is, indeed, 8. But this–vastly over simplistic theory–is not good for explaining the bonds in many real compounds. Hence the dispute about the correct terminology.
A good theory of bonding needs to take quantum mechanics (and the shape of electron orbitals) into account and those were not understood in the early 20th century when Lewis developed his explanation of bonding.
But we don't need any quantum obfuscation to see why Lewis theory doesn't work well and why it is better not to pretend that bonds consist of pairs of electrons. Take benzene as an example.  You could claim that the bonds in benzene contain 18 electrons so make up 9 bonds. But this means alternating double and single bonds. But that can't be right as all the bonds in benzene are the same length. It is better to say than benzene consists of 6 bonds each of which have somewhere between the character of a single and double bond.
This inability of the Lewis model of bonding to explain real world structures is very common. Nitrate ions are one example where all the bonds have characteristics of more than a &quot;single&quot; bond but less than a &quot;double&quot; bond. Many boranes have bonds between 3 atoms but only two electrons to share among them.
So equating bonds to shared pairs of electrons is not helpful. Nor is using terminology that defines a bond that way. So real chemists should be reluctant to count bonds that way. Whether this is the answer your question is looking for is less clear as you might still be at the stage where they have taught you Lewis structures and nothing else.