def METHOD_NAME(
        self,
        filter_query: CustomAssetsFilterQuery,
) -> tuple[list[CustomAsset], int, int]:
    """
    Returns a list of `CustomAsset`, a count of the assets that match
    the query and the count of custom assets in the DB.
    """
    entries = self._get_custom_assets(filter_query=filter_query)
    with GlobalDBHandler().conn.read_ctx() as cursor:
        query, bindings = filter_query.prepare(with_pagination=False)
        query = 'SELECT COUNT(A.type) AS custom_asset_type from custom_assets AS A JOIN assets AS B ON A.identifier = B.identifier ' + query  # noqa: E501
        entries_found = cursor.execute(query, bindings).fetchone()[0]
        entries_total = cursor.execute('SELECT COUNT(*) FROM custom_assets;').fetchone()[0]
        return entries, entries_found, entries_total