Add support for $ttl argument in count() (Issue #393)
Minor tweak