I am about to replace my battery on a 2011 MacBook Pro.

Does the computer recognise a new battery and reset the counter to zero or do I have to reset it ?

Also any recommendations for the battery to replace it. I don't want a inferior one and there a lot of choice out there.