Port counter test