Trying to create a LMS in toddle, using Xano as a Backend. I need to get the total number of lessons in a course to show it to the user and track progress.
I can't figure how to do that natively using Formulas in Toddle.
My JSON is like this:
id: 1,
created_at: 1722335594204,
Title: Introducción al No-code,
Description: Descubre el mundo del no-code a través de este curso de Introducción.,
Portada: {access, path, name, type, size, mime, meta, url},
_secciones_cursos: [
{
id: 1,
created_at: 1722335578035,
Nombre: Introducción al Curso,
Posicion: 1,
cursos_id: 1,
_lecciones_secciones: [2],
_contar_lecciones: 2},
{
id: 2,
created_at: 1722335587176,
Nombre: Primer módulo,
Posicion: 2,
cursos_id: 1,
_lecciones_secciones: [2],
_contar_lecciones: 2}]}