Applescript to get number of pages in Postscript

Guys, anybody know how to use a applescript to get page count of a postscript without using GhostScript? Im looking for a way to do this with either applescript or applescript + shell script.

Any ideas would be appreciated.

Thanks