public int GetTestCount(){
		
		 int result = 0;
		 Connection conn = null;
		 PreparedStatement st = null;
		 ResultSet rs = null;
		 try {
			  // ConnectionManager.GetComboPooledDataSource() is an instance of c3p0's ComboPooledDataSource
			  conn = ConnectionManager.GetComboPooledDataSource().getConnection();
			  
			  System.out.println("Connection exists? " + conn != null );
			  
			  st = conn.prepareStatement("SELECT COUNT(*) AS 'RECCOUNT' FROM Address");
			  
			  //st.setInt(1, sessionID);
			  
			  rs = st.executeQuery();
			  
			  if ( rs.next() ) {
					   result = rs.getInt("RECCOUNT");
				   
			  }
		 }
		 
		 catch (SQLException e) {
		  e.printStackTrace();
		 }
		 catch(Exception e){
			 e.printStackTrace();
		 }
		 finally {
		  if ( rs != null ) {
		   try { rs.close(); } catch (SQLException e) { e.printStackTrace(); }
		  }
		  if ( st != null ) {
		   try { st.close(); } catch (SQLException e) { e.printStackTrace(); }
		  }
		  if ( conn != null ) {
		   try { conn.close(); } catch (SQLException e) { e.printStackTrace(); }
		  }
		 }
		 return result;
	
	}