You can calculate number of layers in graphene flakes using Raman Spectroscopy, not bandgap. You can measure UV-Vis for a very dilute concentration of graphene dispersion to find the bandgap. Hope it will help.
Actually, you can't measure the bandgap of graphene, because it is very small, but you may be able to measure the singularities in twisted graphene systems like this one:
Article Resonance Raman spectroscopy in twisted bilayer graphene
It's not possible to determine the bandgap of the Graphene, but porous graphene's band gap determination could be possible. Please read the attached article.
Sethi, M., Bantawal, H., Shenoy, U.S. and Bhat, D.K., 2019. Eco-friendly synthesis of porous graphene and its utilization as high performance supercapacitor electrode material. Journal of Alloys and Compounds, 799, pp.256-266.