Due to miscommunations, view count and duration limits was not converted to ints. It is fixed now.
Merge pull request #16 from johanasplund/master

Due to miscommunations, view count and duration limits was not converted...