This paper presents a people counting system as an application of a people counting method. The method uses depth and vision data captured by a low-cost Kinect sensor. The sensor is placed perpendicular to the ceiling. The perception of the people is achieved by using water filling method. A new approach called as people tracking increases the performance of the people counting system. Some real applications are given to show the efficiency of the proposed approach.