A sensor device for sensing particles of a sample, the sensor device comprising a sensing unit adapted for sensing a detection signal indicative of the presence of the particles, a viscosity measurement unit adapted for measuring the viscosity of the sample, and a correction unit adapted for correcting the detection signal based on the measured viscosity. [on SciFinder (R)