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