added max count at receiver