Fixed counting

-------------------
2014-01-24 : v0.6.7
-------------------
* Fixed: Number of tiles wasn't calculated properly