The short answer
107people, from Adam to Paul, with their first and last recorded words
15speak their last recorded words as death approaches
7speak only once, so their first words are also their last
The first words anyone speaks in the Bible are God's: “Let there be light” (Genesis 1:3). The first words of a person are Adam's, when God brings the woman to him: “This is now bone of my bones and flesh of my flesh” (Genesis 2:23). The last words the Bible quotes anyone saying are Jesus's: “Yes, I am coming soon” (Revelation 22:20).
Some first and last words are only a phrase. Samuel's, as a boy, answer God's call: “Here I am” (1 Samuel 3:4). Isaac's are “My father!” (Genesis 22:7), on the way to the mountain where Abraham has been told to offer him. Thomas's last words are “My Lord and my God!” (John 20:28), and the last words of Mary, the mother of Jesus, spoken to the servants at a wedding, are “Do whatever He tells you” (John 2:5).
Last recorded words are not always last in time. The book of Jeremiah is not arranged in time order, Chronicles retells the story told in Samuel and Kings, and the four Gospels each tell the life of Jesus. Where the text makes the order clear, the page follows it.