Custom lighting HDRP Anime shader multiple light sources

Hello,
I would like to make an anime shader for HDRP using multiple light sources.
Can anyone please tell me how to access lighting data for multiple sources in HDRP.

This has been done in the Unity chan shader but Im not sure how its done.

Thank you in advance!

Bump @SebLagarde please help I really need to figure this out