Implementation of counted layers for coherent ice core chronology