I took a look at the link you sent, and it does make sense. However, I'm just editing the navbar template, which appears on every page.
To the showthreads template (just for testing) I added
$numNewPosts = $vbulletin->userinfo['newposts'];
and then replaced the code on the navbar to this:
$vbphrase[new_posts_nav] ($numNewPosts)
and it removed the number from the navbar and I got "= Array['newposts'];"
BTW, I'm using v 3.5.4
Update: I wasn't able to manually create the code, but I did find a place where it created a global variable (which may have been what you guys were getting at) and just inserted some PHP code into it.
Found here in case anyone's interested. Thanks for leading me down the right path guys!