fix cartodb count issue