[math] change counter for comments and examples