OBMFULL-4726 Fixed getDaysCount() to correctly consider all day events.