NXP-14278: fix countUpTo
NXP-14279: MongoDB countUpTo