The five essential steps for estimating market size are
Formulate the value hypothesis
Specify the features of your minimum viable product
Build your minimum viable product
Test your minimum viable product with real users
Learn from your users and iterate