code: @Override
  	public int countAll() {
  		Long count = (Long)finderCache.getResult(FINDER_PATH_COUNT_ALL,
  				FINDER_ARGS_EMPTY, this);
  
  		if (count == null) {
  			Session session = null;
  
  			try {
  				session = openSession();
  
  				Query q = session.createQuery(_SQL_COUNT_CPDEFINITIONLOCALIZATION);
  
  				count = (Long)q.uniqueResult();
  
  				finderCache.putResult(FINDER_PATH_COUNT_ALL, FINDER_ARGS_EMPTY,
  					count);
  			}
  			catch (Exception e) {
  				finderCache.removeResult(FINDER_PATH_COUNT_ALL,
  					FINDER_ARGS_EMPTY);
  
  				throw processException(e);
  			}
  			finally {
  				closeSession(session);
  			}
  		}
  
  		return count.intValue();
  	}
docs: Returns the number of cp definition localizations.
  
  @return the number of cp definition localizations