Get length and expire text from model
Fixes #39