Jointly attention network for crowd counting