Manual:$wgExpensiveParserFunctionLimit

Details
Maximum number of calls per parse to expensive parser functions such as PAGESINCATEGORY. Expensive parser functions include:


 *   (from )


 *  /  (a magic>Special:MyLanguage/Help:Magic words#PAGESINCATEGORY|Magic Word)


 *   (a magic>Special:MyLanguage/Help:Magic words#PAGESIZE|Magic Word)


 *   and    when used with the optional argument to specify a different page


 *   (a magic>Special:MyLanguage/Help:Magic words</>|Magic Word)


 * Some 1>Special:MyLanguage/Extension:Scribunto</>|Lua MediaWiki-related functions (see 2>Special:MyLanguage/Extension:Scribunto/Lua reference manual</>|Lua reference manual), including <tvar|3> </> which can be used to manually mark a Lua code path as expensive.
 * (since 1.39)

The count is in the html-source of the page. Even without saving, the count for any wikitext can be checked by checking the html-source of the preview page for that wikitext.