Merge "Refactoring method to get code points and code point count."