fixed view class and added migrations to add no of true and no of false to Statement model