sqlite exception no such column

The following method, should check if the record is already existed in the table or no. But, I receive the syntax error no such column.

 public void ifExist(int myId)
 {
     string dbPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal), "ormdemo.db3");
     var db = new SQLiteConnection(dbPath);
     SQLiteCommand cmd = new SQLiteCommand(db);
     cmd.CommandText = "SELECT count(*) FROM storeConsumption WHERE Id = ?"+ myId;

     int count = Convert.ToInt32(cmd.ExecuteScalar<storeConsumption>());
     if (count == 0)
     {
         Console.WriteLine("The record is NOT Existed");    
     }
     else
     {
         Console.WriteLine("The record is Existed");
     }
 }      

I also tried to run it like this:

cmd.CommandText = "SELECT count(*) FROM storeConsumption WHERE Id= ?'"+ myId+"'";

Although, still there is the same error. I would be thankful if you have an idea that how can I solve it?

Updated: The below code solved the error and iw works well:

    public async Task<Boolean>  ifExist(string d){

        var result = await sdb.databaseConnection().ExecuteScalarAsync<int>("SELECT count(*) FROM storeConsumption WHERE Date = ?", d);
        Console.WriteLine(result);
        if (result > 0) return true;

        return false;

    }

sqlite exception no such column