New question: Is
count reserved and not for variables? It turned blue.
As a sidenote, I
finally realized that if I use enter on the composite column and open the editor directly without going through the "add column" dialog I don't have to restart Calibre.