Python 2, 203 200 bytes
E=enumerate
l=input()
t=eval(`[[0]*-~len(l)]*4`)
for i in range(3600):
for y,q in E(t):q[sum(y==((sum([~ord(w)%5*[j%3]+[3]for j,w in E(c)],[])+[3]*6)*450)[i]for c in l)^0-y/3]+=y*y|5>t[2][-1]
print t
Building the pattern with strings instead of lists of digits comes out at the same length and is a bit faster: Try it online!