Given a string containing only digits, return the number of ways to decode it where A=1, B=2, ..., Z=26.