Added new PrefixCounter implementation