You are correct! There are 2 pi bonds in the carbon-carbon triple bond and 1 pi bond in the nitro group.