Is my built code counted against my global plan storage?

If my plan has 5GB storage, and my built code takes up 500K, does that get taken off of my available storage (5GB)?

No. When your application image is created during the build process it is ultimately mounted outside of the persisted block storage on the grid host, and therefore does not count against the usage there.