I Need help with my DP for 1.21.5 Java

I am trying to get my Death Counter to work I got the Day Counter working but i don't know what I'm doing this is my first time adding a second function to get death counters working, Screenshots included along with my DP structure on VSCode. Please any help would be Great!
Continue to help post