How to find number of holes in 3D object(.stl or .obj file)

Hello Friends… Is there any way to find holes in 3D object loaded from .STL or .OBJ file in Three.JS. Please help…

duplicate