i was trying to build the code , i have one doubt regarding building the count arr associated to this problem, plz help me toh buil the algo for making count arr using dfs approach, i have tried to build the structure of the code plz check in accordance , thank you so much