added countCustomerByRegistrationDate and other functions to plot marginProCustomer