I don't know which phone has maximum sensors but I will try to compare all the high end model phones.
- Apple 7:
- Touch ID fingerprint sensor
- Barometer
- Three-axis gyro
- Accelerometer
- Proximity sensor
- Ambient light sensor
2. Samsung Galaxy S7 Edge:
- Fingerprint Sensor
- Accelerometer Sensor
- Gyro Sensor
- Proximity Sensor
- Compass Sensor
- Barometer Sensor
- Heart rate Sensor
- SpO Sensor
3. Google Pixel XL:
- Fingerprint Sensor
- Accelerometer Sensor
- Gyro Sensor
- Proximity Sensor
- Compass Sensor
- Barometer Sensor
4. LG G5:
- Fingerprint Sensor
- Accelerometer Sensor
- Gyro Sensor
- Proximity Sensor
- Compass Sensor
- Barometer Sensor
- Color Spectrum Sensor
5. OnePlus 3:
- Fingerprint Sensor
- Accelerometer Sensor
- Gyro Sensor
- Proximity Sensor
- Compass Sensor
6. Xiaomi Redmi 4 Prime:
- Fingerprint Sensor
- Accelerometer Sensor
- Gyro Sensor
- Proximity Sensor
- Compass Sensor
7. Asus Zenfone 3 ZE552KL:
- Fingerprint Sensor
- Accelerometer Sensor
- Gyro Sensor
- Proximity Sensor
- Compass Sensor
So if you analyze the above high end models, Samsung wins.
Samsung comes out of the box with ample amount of sensor.
Hope this answer helps.
-SK