Sql Server String Length Function In Python