It works with .count because that's how the script works. Read the help provided with the script.

Code:
//var %url = https://eu.battle.net/api/wow/character/Outland/Livb%C3%A5ten?fields=pvp,titles | echo -ag $json(%url, name)


This works perfectly fine.