Computational linguistics

A visible letter with a combining diacritic is represented by a base code point and a separate combining-mark code point. What may be true when a program counts the sequence?