Thanks for the query
Any person who has received full three dosage of pre exposure series or full post exposure prophylaxis and had a documented history of antibody response to previous vaccination needs only two dosage of vaccine( 0 and 3) when exposed to rabies
Post exposure prophylaxis should be given even if long delays have occurred since exposure, as therapy may still be effective.
As you got needle prick injury
from possibly infected cow you are in exposed category.
You don't have documented evidence of antibody response, so you should ideally receive full vaccination according to post exposure vaccination schedule
I hope this answers your query well