added error message when entering negative count-value.