Fixed behaviour on count.