LiveView: (ArgumentError) assign @count not available in eex template

Which version of live view are you using. If you are using v0.10.0 or above please check this

Live view layouts have changed and it might so happen that your app.js is not being called at all.