expose clear and count
single thread access to FMDB