Does Matthew count as a book?

Does Matthew count as a book?

Been a while since I just sat down and read the Gospels. What is the 'four' term like a trilogy, or perhaps more appropriately a triptych?

I think the begats of Matt 1:1-17 were put up front to ward off those of low interest or short attention span. Certainly worked for me for many years...