How many times has been printed Doctype.!?

Hello Everyone,

I need to know the code that I have add to print format to know How many times has been printed Doctype.!?

Or if there any way to do that…!

Thanks for Helping…