The gate staff will be the ones doing a passenger count, if all the boarding cards have been scanned or counted at the gate, many see this is enough, i only ever done a head count if there was a discrepancy at the gate.
Not alot of airlines do head counts although i presume this will now be re-introduced.