Hey @Stunkata,
you could use the built in annotation capabilities of plotly and try checking for the length: