Second-Order Correlation Function Supported Optical Sensing for Particle Detection