Yes, unless the spell explicitly says otherwise.
From the PFSRD on counterspelling (emphasis mine):
To complete the action, you must then cast an appropriate spell. As a general rule, a spell can only counter itself. If you are able to cast the same spell and you have it prepared (or have a slot of the appropriate level available), you cast it, creating a counterspell effect. If the target is within range, both spells automatically negate each other with no other results.
Some spells can counter other specific spells, often those with diametrically opposed effects.
Unless the spell's description explicitly says that it can't be used to counterspell itself, then it can.