Optical microscopy may not be a very efficient mean to study pores due to its limited resolution and magnification. BET analysis generally helps to study porous materials and their enhanced effective surface area in a furnished way.
Besides, the size of the pores matter if you want to find them by some microscopy technique. There are microporous and nanoporous materials. Microporous materials can be observed via electron microscopy very well. However, sufficiently nanoscopic pores might not be viewed even via FESEM. On the other hand, as TEM gives you a 2D image, in spite of higher resolution might not help you to study pores.
It depends on what kind of pores you are looking (top flat surface for topography analysis of local defects or perpendicular to it in crossectional direction for material integrity check) About material integrity, see quality standard measurement for metal coatings like e.g. ISO/TR 26946:2011(en) => Standard method for porosity measurement of thermally sprayed coatings. Other more precise testing methods are CT radiography.
In a polished specimen prepared for optical microscope, scan the specimen and bring the pore in the focus, and after bringing the pore in focus, try to raise or lower the eye-piece column and if it is a pore, it would gradually goes out of focus as you raise or lower your eye-piece column and if it is not a pore, then it would go out of focus instantly, and thus you can separate pore from others. Hope this helps.
Normally, the porosity is studied on a polished sample without etching. You need to make sure that the surface is perfectly clean. The pores will appear black in a bright field or shiny in a dark field. This is hoping that the different phases of your composite are not visible without etching