code: @Override
      public Integer getTotalCallDetailRecords(CallDetailRecordFilter filter) {
          final SqlSession session = sessions.openSession();
          try {
              final Integer total = session.selectOne(namespace + "getTotalCallDetailRecordByUsingFilters", filter);
              return total;
          } finally {
              session.close();
          }
      }
docs: Issue 110