In dense traffic flow, car occlusion is usually one of the great challenges of vehicle detection and tracking in traffic monitoring systems. Current methods of car hypothesis such as symmetry or shadow based method work only with non-occluded cars. In this paper, we proposed an approach to car detection and counting using a new method of car hypothesis based on car windshield appearance which is the most feasible cue to hypothesize cars in occlusion situations. In hypothesis stage, Hough transformation is used to detect trapezoid-like regions where a car's windshield could be located, and then candidate car regions are estimated by the windshield region and its size. In verification stage, HOG descriptor and a well-collected dataset are used to train a linear SVM classifier for detecting cars at a high accuracy rate. Then, a tracking process based on Kalman filter is used to track the movement of detected cars in consecutive frames of traffic videos, followed by rule-based reasoning for counting decision. Experimental results on real traffic videos showed that the system is able to detect, track and count multiple cars including occlusion in dense traffic flow in real-time.