Wizard for generating IF clauses to check if a passage has been visited a certain number of times generates faulty code
Using the toolbar button that creates "If" code idioms for an if: statement that checks whether passage "example" has been visited X number of times generates a piece of code that looks like this:
(if:(history: where it is "example")'s length is X)[Your Text Here]
This does not appear to be working code. The evaluated number of visits is always 0.
One equivalent working version of the code would be:
(if: (history: where its name contains "example")'s length is X)[Your Text Here]