Check if the actual pointcount matches that one given in the header