Replace "avg" with countcmd.