String.Count Occurrences not working properly

I think dynamo is not working as it should,
I’ll explain it in the attached picture.
Thanks for your help!

What did you expect to see?

Looks like your lists aren’t matching depths. Can you post the full screenshot and/or dyn?

1 Like

Well, if i posted the dyn file it wouldn’t work… i would need to share the project too, since it’s variables come from there.
I can share the fullscreen, i managed to do the same thing using a foor loop
however i got this bug…

and no, input 1 and 2, for List.ContainsItem does not have the same amount of elements. Is there a node that does exactly the same thing as List.ContainsItem, but accepts inputs of lists with different total number of elements?
Thank you!

I’m not sure, but I think you could use lacing and levels to get what you’re after.

I tryed doing so, but the error persists

I tryed a different aproach, using the same logic, and it worked

1 Like