I'm not sure everyone knows how to add a page count in Libreoffice.
Everything happens in the "Insert" menu:
1. Insert > Header and Footer > Footer > tick box;
2. Focus on the footer;
3. Insert > Page Number;
4. Add a separation element of your choice (/, -, –, etc.);
5. Insert > Field > Page Count
Paginating on Libreoffice Show more
To sum it up,
Insert > Header and Footer
Insert > Page Number
Insert > Field > Page Count