number counter integration