A simple number counter for component