First make a variable (myIndex) and make it increase every time a p element occurs.
Then insert the counter in front of all p elements