ah looks like I can't take this out
need to count just image elements, there could be hidden line breaks and whatnot that we don't want to deal with