Death counter help please

There are numerous posts about building death counters on the forums. Here’s one such post: Daily and Weekly $(count) in the same command - #2 by Emily