All your base 97 are belong to us
Python 2, score 73  72 71

Edit: -1 thanks to @Jonathan Allan



def f(l,z=0):
&#9for i in map(ord,l):z+=i-[30,9][i&lt32];z*=97
&#9print(len(bin(z))-2)/8or 1


Try it online!