Often that depends on how well you take care of it. If you expose it to road salt, let it rust, and lube it with engine oil, it won't last nearly as long.
It's a good idea to check the entire chain for wear every few hundred miles, looking for nicks and other damage. I don't think the relationship between chain length and chain wear is quite so linear, either.