How do you calculate average number of nights occupied per room and the occupancy rate if the given was only the number of rooms and number of nights occupied from January to December?

How do you calculate average number of nights occupied per room and the occupancy rate if the given was only the number of rooms and number of nights occupied from January to December?