People Counting System for Smart Building Management