# Counting and Modules

**URL:** <https://discuss.hashicorp.com/t/counting-and-modules/2190>\
**Category:** Terraform\
**Created:** [July 31, 2019, 3:52pm UTC](https://discuss.hashicorp.com/t/counting-and-modules/2190 "2019-07-31T15:52:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbell83](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/tbell83/32/1690_2.png) [@tbell83](https://discuss.hashicorp.com/u/tbell83)\
**Post date:** [July 31, 2019, 3:52pm UTC](https://discuss.hashicorp.com/t/counting-and-modules/2190/1 "2019-07-31T15:52:00Z")

</div>

What is the current preferred method of counting modules in TF12? Historically I just count every resource within the module based on count variable I define. Count is now reserved within a module, but as far as I have been able to tell, it doesn’t do anything. Is there a new way I should be implementing this, or am I still effectively creating modules with zero resources when I want to count = 0 a module?

---

<div class="post-metadata">

**Author:** ![apparentlymart](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/apparentlymart/32/702_2.png) [@apparentlymart](https://discuss.hashicorp.com/u/apparentlymart)\
**Post date:** [August 1, 2019, 6:52pm UTC](https://discuss.hashicorp.com/t/counting-and-modules/2190/2 "2019-08-01T18:52:36Z")

</div>

Hi @tbell83,

The name `count` is reserved for a future planned feature to have Terraform itself automatically implement repetition for a module.

However, right now the situation is still the same as it was in prior versions with the exception of the name being reserved. You can continue using the previous technique, by using a different name for the variable that represents the count.
