getAliasNbpages not recognize in scriptcase

I got this issue when I run the application for create pdf report $this->getAliasNbPages()
it not recognize getAliasNbPages anyone can help me for this issue?

Did you try this?

$pdf->getAliasNbPages()

🚀 Scriptcase 9.12 is now available! Check out the new features here 👉🚀 Next Monday (02/24), Scriptcase 9.12 will be released! Check out the new features before anyone else 👉