Removed error messages from count function. Valid use cases exists. Also allowed in the Python string method from which count was inspired.