How can I indicate in my bibliography that the reference has 500 pages in total, for example.
As I understand, the keyword "pages" in Bibtex refers to the specific page or page ranges.
With biblatex, you may add a
(The filecontents environment is only used to include some external files directly into the example, so that it compiles. It is not necessary for the solution.)