In addition while the medium / long-haul might not require a full set of duplicate crew, they may require rest periods. That alone may necessitate additional crew members to ensure they always have sufficient on-duty staff.
Those extra staff probably help when you are paying attention (meal times and landing) so it seems overstaffed, but may be cycling in and out of their rest break during cruise when reduced staffing levels are needed since most people are sleeping, etc.