Small issue

The records of the database were not counted.