Why do count only return : 1?

It don’t matter if I use VueJs or Blazejs?

Not at all. The packages are completely front end agnostic.