Rewrote count-days-in-yearo