Virat Kohli scored 74* in Sydney, helping India beat Australia, becoming the second-highest ODI run-scorer and top run-getter in all limited-overs cricket.