Number of teeth make no difference in this application, so you can just use whatever gets you to the gear ratio you want. You'll need a special tool to remove the freewheel (assuming your bike uses a singlespeed freewheel - judging by the picture I bet it does). If you go down in number of teeth, you can keep your chain and maybe remove a link, but if you go up you may need a longer chain.