It was a relay. Did Phelps swim it by himself. The excerpt doesn’t say...
men’s 4x100m freestyle relay
Right there on the second line. Even leaving off the word relay. 4x100 means there are 4.