Len() returns the number of keys in the store and an error.

count, err := db.Len()