Bidirectional Visitor Counter To Control Electrical Appliances