def count_annotation_entries(self) -> int:
        """Count the number of annotation entries in the database."""
        return self.session.query(NamespaceEntry).filter(NamespaceEntry.is_annotation).count()
def count_annotation_entries ( self ) -> int : return self . session . query ( NamespaceEntry ) . filter ( NamespaceEntry . is_annotation ) . count ( )
Count the number of annotation entries in the database.