Hitung jumlah baris dalam tabel database di Django

use ".count()"

Example:-
Number_of_Messages = Messages.objects.count()
Markhor