Use tidyr::complete() to fill missing cluster–treatment pairs:
library(dplyr)
library(tidyr)
df %>%
complete(cluster = 1:10,
treatment = c("TreatmentA", "TreatmentB"),
fill = list(count = 0))
This ensures every cluster 1–10 has both treatments, filling missing count values with 0.