Add posibility to count rows at before, after, at and inbetween dates