Value of 'count' cannot be computed

Terraform v0.11.14 ,we have no plans to upgrade to 0.12 as that involves careful planning before upgrading.

Error: Error running plan: 1 error occurred:
* module.aws_dns.aws_route53_record.servers: aws_route53_record.servers: value of ‘count’ cannot be computed

When I remove the module called aws_route53 and comment out the reference to it in the Terraform plan is successful.