On a "target_secret" entity, you should set the key as "count" and the value to the total number of secrets on all of them. That said, I didn't do it on a recent map of my own and it still worked, which implies that your issue is being caused by something else. I can take a look at the map directly, if you want to send it over in a DM.