This is a small tweak to the already existing flow.. but with less dependence on the presence of the recovery directory.
First, a count is carried out of the tables with _post (suffix) WordPress tables at least exist.
This is brittle, but will be used until a better pattern/way is discovered.