My Infrared Sensor can't detect black colour, how to solve this!

Hmm, I think I can manipulate the programming so when the sensor doesn't receive any signal, then it is counting.