Gravity: SEN0626 and counting

Hi,
Been playing with the SEN0626 and it does what it is supposed to do.
Though, on the product page, there is an image where it is used as a door counter(?)
I've not found anything in the library files that corresponds to such functionality, and when installing the SEN0626 at the top of the door pointing downwards, it doesn't detect me when passing…
Have anybody got this to work and can provide a sample code on how it was resolved?
Thx!
These sensors have a limited detection cone. Mounting it at the top of a doorway pointing straight down may place you outside the sensor’s detection range. Most of these sensors work best when you’re in front of them within a few tens of centimetres.
These are analog or digital proximity sensors. They output a distance or a HIGH/LOW signal depending on the detected object. There’s no built-in “person counting” logic; you have to implement that yourself.
