Using the below thingy, I get...
6 over the Diamondbacks--manually applying the tiebreaker
5 over the Marlins
4 over the Cubs--manually applying the tiebreaker
3 over the Reds--manually applying the tiebreaker
2 over the Giants
1 over the Padres
I am assuming this is calculating outright "finish ahead of" and not ties. Therefore, where we win the tiebreaker, you can chop of a game.
It is really hard to say what our clinch a berth or clinch homefield advantage number is since much depends on what happens with the other teams. We need to see some of the teams toward the bottom of the above list fall off it. We could conceivably clinch a berth by the end of this Mets series (be it Sunday or Monday, due to the weather) if we win at least two of those games, the Padres and Giants lose at least one and the Cubs lose two.
Diamondbacks play at the Yankees...who may be playing hard to avoid the Yanks' first losing season since 1992 but who still stink
Cubs host the moribund Rockies
Marlins host the Brewers whose magic number to clinch the division is down to two.
Reds host the Pirates who have played moderately well lately
Giants play at the Dodgers who still have a very outside chance of reeling in the Braves (that magic number is down to six)
Padres visit the Cardinals