I think I'll do what ahurtt said and make it into a string, and then .length it. That's something we did cover.
Oh, and it's not my homework/I needed to know/etc. I'm supposed to write a program that takes a zip code, breaks it into separate digits, and replace the digits with certain code (what the postal service does). It reminded me of something I didn't know how to do on a previous test (how to count the digits). In this case, i didn't need to count them, because zip codes are 5 digits long. I just wanted to know for future reference.
Thanks for all your help guys