Phthalimide is made to undergo following sequence of reactions. Total number of \( \pi \) bonds present in product ‘P’ is/are ____________ .