def _gridcount_1d(acfun, data, x, y, w, binx, inc):