Checking number counts

added debugging features