How can I know the number of teeths I need to go uphill?
I don't think you can do it unless you are planning on carrying a few chain links to splice in whenever you flip your wheel. In any case, with the relatively large 46 tooth chain ring I think you'd need at least 36 teeth on the back to get up a 15% grade. Which would require a chain with 10 more links