(Only trials of high treason against the sultan were held in secret.) Two male witnesses were thought sufficient for most 'normal' cases while it was thought that three to five were necessary with female witnesses.
For trials involving high treason against the sultan, secrecy was enforced.  Two male witnesses were typically enough for most cases, but three to five were required when female witnesses were involved.