- Patch #11977 by matteo: taxonomy_term_count() did not take node-level permissions into account and could return an incorrect number.