Trying to find width of tilemap level

@p3nguinc4g3
You have probably moved on from your original question, but I found this post which explains one getting the dimensions of a tilemap, in relation to the x,y of a sprite