New count() and _count() methods for Inflator