v7 ping count 1 do not give result

Hello everyone, I need some help.
In RouterOS v6, when a part of a script executes a ping and it has a response, it sets the variable with the value 1, but in RouterOS v7, when executing the same command, it is deleting the variable.
How can I fix this? Thanks a lot for the help.
Follows the command:

:global status8888 0
:delay 1s
:set status8888 [/ping count=1 8.8.8.8]

Simply the ping command is changed on v7, if you do less than 3 ping, you give no result.

thank you very much