What's a bedroom?

By that I mean, if you have an "exercise room" and an "office" that are essentially indistinguishable from the rooms the plans call "bedroom", what determines whether those are "bedrooms" for the purpose of the AFIC requirement?