<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _MigrationFilenameToInt(fname):
 """Converts migration filename to a migration number."""

  base, _ = os.path.splitext(fname)
  return int(base)