Use count from values
object passed to Trans
#947
Merged
values
object passed to Trans
#947