Here is a novel online calculator that computes the optimum play for BS and count - http://www.gamblingtools.net/bj/ppbj.html