[imp][#33645] Deprecate the use of an expression in JDocumentHtml::countModules(). Fixes #3492

This code nave made it from the last platform update to the cms.
By deprecating the expressions the eval($str) can be removed in 4.0. (or maybe even faster???)