Abstracted counting.