I want to change my code from counting through an integer to an interrupt. But the problem is I see my TinySine GSM shield is already using pins 2 & 3 for Rx & Tx! (The only 2 pins that are available for an interupt on the Arduino Uno)
The aim is to never miss a count even if it is sending a SMS or somethng.
Or see if you can use different pins with your shield - many shields have jumpers on them to select which pins it uses, to address exactly the problem you're having.
Do you need your arduino to be connected to your computer after uploading the code and displaying things in the serial console or entering data there? If not change the jumper and you can use directly the hardware Serial and that frees pin 2 and 3.
If not bend away from the shield those 2 pins so that they do not go plug into 2 and 3 below and put a wire to go plug them somewhere else and modify their library to not do softwareSerial on 2 and 3 but on the new pins you selected.
You need to post your code so people can actually evaluate what's happening.
If software serial is using pins 2 and 3, you can change them to 2 other digital I/O pins when you declare/define your software serial object. Then you have to physically modify how your shield connects to your arduino using the 2 alternate pins.