Count diamonds level 3 by eban

./"-"-["","
"]|.[]|. as$o|[indices("* *")[]+42|select($o[.:.+1]=="*")]|length

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page