code: public Totals getTotalViews(Date date) throws FlickrException {
          Map<String, Object> parameters = new HashMap<String, Object>();
          parameters.put("method", METHOD_GET_TOTAL_VIEWS);
          if (date != null) {
              parameters.put("date", String.valueOf(date.getTime() / 1000L));
          }
  
          Response response = transportAPI.get(transportAPI.getPath(), parameters, apiKey, sharedSecret);
          if (response.isError()) {
              throw new FlickrException(response.getErrorCode(), response.getErrorMessage());
          }
  
          Totals totals = parseTotals(response);
  
          return totals;
      }
docs: Get the overall view counts for an account
  
  @param date
  (Optional) Stats will be returned for this date. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will
  automatically be rounded down to the start of the day. If no date is provided, all time view counts will be returned.
  @throws FlickrException
  
  @see "http://www.flickr.com/services/api/flickr.stats.getTotalViews.html"