How funciton invocations are counted for static chunks generated by nextjs

I have a nextjs app deployed in netlify platform. And I am seeing high usage of functions invocations. Wanted to understand is that something related due to high number of chunksjs created and served by nextjs handler or is it actually the api’s hit count. If it’s the chunksjs, is there a way to serve them through edge runtime?