Refactor BaseIntegrationTestCase.assert_count

* Move building an error message into _assert_count_message helper
  method to avoid obscuring the rest of assert_count