Runtime counter implemented