DB Checking & Count Rows at SQLite