The number of bays refers to the width of a building by counting the number of openings including both doors and windows. A house with a center door and a window on either side has 3 bays.
Source
http://www.portal.state.pa.us/portal/server.pt/community/architectural_field_guide/2370/dictionary_of_architectural_terms/445407