counter for negatives and decimals