fixed extension config
automatically add $count as parameter