code: public static int countByG_A_C_P(long groupId, boolean active,
  		long commerceCountryId, boolean primary) {
  		return getPersistence()
  				   .countByG_A_C_P(groupId, active, commerceCountryId, primary);
  	}
docs: Returns the number of commerce warehouses where groupId = &#63; and active = &#63; and commerceCountryId = &#63; and primary = &#63;.
  
  @param groupId the group ID
  @param active the active
  @param commerceCountryId the commerce country ID
  @param primary the primary
  @return the number of matching commerce warehouses