replace countDots with abstract isVersionedDOI

countDots is only used to see if a DOI is versioned or not, so why not
do that within a method and just return the boolean?