Best advice is as above from Greg, find your local fire AHJ, and go over the floor plan with him.
Basic understanding IMHO, is one in ea BR, one in hallway outside BRs, and a CO on each level. Interconnected, 120 volt, w/BBU. 'Code' is within the adopted NFPA Fire Code.