Count nodes of example queries.