There is 1 sigma bond in a single bond.
There is 1 sigma bond and 1 pi bond in a double bond.
There is 1 sigma bond and 2 pi bond in a triple bond.
So count the no. of single double and triple bonds in the given structure and thus evaluate the no. of sigma and pi bond on the basis of fundamental explianed above