problem with setData and count