Previously countYears & countDays procs were not public, but there were unused,
causing unnecessary warnings generated by standard library.
Since these procs seems to be useful it is better to just export them than
remove them completely. Also turning inline comments into proper documentation.