Proposed semi-supervised framework S4Crowd enhances crowd counting accuracy by leveraging unlabeled data and self-supervised losses.