Suicides in the Bible:
Temptation to commit suicide:
Jesus [so that God would be forced to rescue him and thereby proving to the people that he was the Messiah]: Matthew 4:5-6; Luke 4:9-11
Attempted Suicide
The Philippian jailer - thinking that his prisoners, including Paul had, escaped tried to commit suicide rather than face his superiors. He was prevented from carrying out his suicide by Paul. The jailer and all his house became devout followers of Christ. This incident proves that even when life seems to be at its darkest and that disaster has overtaken us, God can still intervene to save us from ourselves -Acts 16:27
Actual Suicides
The answer to your question is that there are 6 suicides mentioned in the Bible.
I hope you have found this helpful.
God bless,
Mike