Fix #304 by relacing the empty() with a count()
Merge pull request #3 from eve-seat/dev

Fix #304 by relacing the empty() with a count()