Trying Zcounts = f(Z$count)