Get Surface Pattern Dimensions / Count Tiles

Hi,

I guess is something related to your Dynamo setup. Look here - Data at the root Level is Invalid

It looks like that the error is not caused by the script I shared.
Good luck!