Como retornar elementos totais no banco de dados Django
use ".count()"
Example:-
Number_of_Messages = Messages.objects.count()
Markhor
use ".count()"
Example:-
Number_of_Messages = Messages.objects.count()